#ifndef MYSCENR_H
#define MYSCENR_H

#include <QObject>
#include <QGraphicsScene>
#include "myitem.h"
#include <QTimer>
#include <stdlib.h>

class myScenr : public QGraphicsScene//场景类
{
    Q_OBJECT
public:
    explicit myScenr(QObject *parent = nullptr);
     QTimer *pt;
     QTimer *ppt;
signals:
    void clear();
    void finshed();
public slots:
    void showmouse();

    void start();

    void spause();

    void stop();

    void change_time();

private:
    myitem *itm[16];
    int life_time;
    int mouse_count;

};

#endif // MYSCENR_H
